﻿
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_LayoutFront.cshtml";
}
@model List<Blog190311.Models.DBModel.Article>
<aside>
    <div class="l_box" id="stickMe">
        <div class="about_me">
            @Html.Action("MyAbout", "PartialView")
        </div>
        <div class="wdxc">
            @Html.Action("MyGallery", "PartialView")
        </div>
        <div class="search">
            @Html.Action("Share", "PartialView")
        </div>
        <div class="fenlei">
            @Html.Action("MyWord", "PartialView")
        </div>
        <div class="tuijian">
            @Html.Action("MyTuiJian", "PartialView")
        </div>
        <div class="links">
            <h2>友情链接</h2>
            <ul>
                <a href="http://www.yangqq.com">杨青个人博客</a>
                <a href="http://www.yangqq.com">杨青博客</a>
            </ul>
        </div>
        <div class="guanzhu">
            <h2>关注我 么么哒</h2>
            <ul>
                <img src="~/images/wx.jpg">
            </ul>
        </div>
    </div>
</aside>
<div class="r_box">
    <main>
        @foreach (var item in Model)
        {
            <li>
                <i><a href="~/Article/Detail/@item.Id"><img src="~/@item.MainPicUrl "></a></i>
                <h3><a href="~/Article/Detail/@item.Id">@item.Title</a></h3>
                <p>@item.SimpleInfo </p>
            </li>
        }
    </main>
</div>